package com.etoak.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(200, "执行成功！"),
    FORBIDDEN_ERROR(403, "拒绝访问！"),
    TOKEN_NOT_FOUND_ERROR(403, "请传入token！"),
    TOKEN_ERROR(403, "token错误！"),
    SYSTEM_ERROR(500, "系统异常！"),
    FILE_NULL_ERROR(500, "文件不能为空！");

    private Integer code;

    private String message;

}
